﻿///***************************************************************
/// 시  스  템 : Updms.Crd.Dac
/// 단위시스템 : CRD
/// 계      층 : Data Access Layer
/// 프로그램명 : Crd_Dac_UPDMS_CRD_REPORT_Crd2012r
/// 파  일  명 : Crd_Dac_UPDMS_CRD_REPORT_Crd2012r.cs
/// 설      명 : 결제총액챠트(월별) 
///***************************************************************
/// 수정ID 일자       이름     내용
///---------------------------------------------------------------
/// CH001  2008-07-15 송시명   최초 작성
///***************************************************************
using System.Data;
using System.Data.SqlClient;
using System.EnterpriseServices;
using System.Runtime.InteropServices;

using SMFramework.Data;


namespace Updms.Crd.Dac
{
	[ComVisible(true)]
	[Transaction(TransactionOption.Supported)]
	[JustInTimeActivation(true)]
	public class Crd_Dac_UPDMS_CRD_REPORT_Crd2012r : Base.AppFramework.DacBase
	{
		public Crd_Dac_UPDMS_CRD_REPORT_Crd2012r()
		{
		}

		#region NT [GetMonthlyTotalAmtList]
		/// <summary>
		/// 결제총액챠트(월별) - 결제총액챠트(바챠트)
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns>DataSet</returns>
		[AutoComplete]
		public DataSet GetMonthlyTotalAmtList(DataPack lo_dp)
		{
			string strSql = "usp_UPDMS_CRD_REPORT_Crd2012r_Get_Monthly_Total_Amt_List";

			SqlParameter[] paramArray = lo_dp.ToSqlParameters();

			DataSet ds = new DataSet();
			return _agent.Fill(strSql, "UPDMS_CRD_REPORT", ds, paramArray, CommandType.StoredProcedure);
		}
		
		#endregion

		#region NT [GetMonthlyTotalAmtListByAccount]
		/// <summary>
		/// 결제총액챠트(월별) - 계정별총액챠트(라인챠트)
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns>DataSet</returns>
		[AutoComplete]
		public DataSet GetMonthlyTotalAmtListByAccount(DataPack lo_dp)
		{
			string strSql = "usp_UPDMS_CRD_REPORT_Crd2012r_Get_Monthly_Total_Amt_List_By_Account";

			SqlParameter[] paramArray = lo_dp.ToSqlParameters();

			DataSet ds = new DataSet();
			return _agent.Fill(strSql, "UPDMS_CRD_REPORT", ds, paramArray, CommandType.StoredProcedure);
		}

		#endregion

		#region NT [GetTotalAmtDistributeByAccount]
		/// <summary>
		/// 결제총액챠트(월별) - 계정별분포도(파이챠트)
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns>DataSet</returns>
		[AutoComplete]
		public DataSet GetTotalAmtDistributeByAccount(DataPack lo_dp)
		{
			string strSql = "usp_UPDMS_CRD_REPORT_Crd2012r_Get_Total_Amt_Distribute_By_Account";

			SqlParameter[] paramArray = lo_dp.ToSqlParameters();

			DataSet ds = new DataSet();
			return _agent.Fill(strSql, "UPDMS_CRD_REPORT", ds, paramArray, CommandType.StoredProcedure);
		}

		#endregion
		
	}
}
